package com.stillalive.blogsystem.common.util;

import com.stillalive.blogsystem.pojo.dataobject.BlogInfo;
import com.stillalive.blogsystem.pojo.response.BlogInfoResponse;

public class BeanParseUtils {
    public static BlogInfoResponse trans(BlogInfo blogInfo){
        BlogInfoResponse response = new BlogInfoResponse();
        org.springframework.beans.BeanUtils.copyProperties(blogInfo,response);
        return response;
    }
}
